//
//  CheckListImageDBModel.swift
//  ezyform
//
//  Created by MoennigQ on 15/5/18.
//  Copyright © 2018 Client.Solution Pty Ltd. All rights reserved.
//

import Foundation
import HandyJSON
class CheckListImageDBModel: HandyJSON {
    var dbId: Int32 = 0

    var pvd_id: String = ""
    
    var checklist_id: Int32 = 0
    
    var title: String = "" //checklist title
    
    var uploading_flag: String = ""
    
    var id: String = "" //image id (attachment id) from server
    
    var image: String = "" //image link from server
    
    var record_at: String = ""
    
    var removed: Int = 0 //1.表示要删除的; 0 是默认值没有意义
    
    var photo_source: String = ""//photo_album(来源于相册): 1, photo（来源于拍照）: 2， 自动识别：5
    var photo_created_at: String = "" //拍照日期
    var longitude: String = "" //图片的经纬度
    var latitude: String = ""
    var oper_type: String = "" //DataOperType的rawValue
    required init(){}
}
